package org.tabularium.text.html;

/**
 * Useful to analyze the text contained in a HypertextUnit-based tree.
 * 
 * @author Fabio Gasparetti
 */
public interface HtmlContentAnalyzer {
	/**
	 * This method will be called for each unit of a HypertextUnit-based tree.
	 * The text may be null.
	 */
	public String analyze(HypertextUnit u, String text);
}
